package chap5.Task;
public class Task3 {
    public static void main(String[] args) {
        int[] a = new int[10];
        int j = 1;
        for (int i = 0; i < a.length; i++) {
            a[i] = (i + 1) * (i + 1);
        }
        System.out.println("输出数组每个元素的值:");
        for (int i = a.length - 1; i >= 0; i--) {
            System.out.print(a[i] + " ");
        }
    }
}
